
function isAndriod(){
  return navigator.userAgent.indexOf('Android') > -1 || u.indexOf('Adr') > -1;
}
function isIos() {
  return !!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
}

export function toDetail(goods_id){
  if(window.specialDetail){
    if(isAndriod()){
      window.specialDetail.toGoods(goods_id);
    }
  }
}
